﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml.Serialization;
using System.IO;


namespace XmlSerializtionTst
{
   
    class Program
    {
        static void Main(string[] args)
        {
            SampleDevTypeAttribs tstClass = new SampleDevTypeAttribs();

            SampleDevManager devManager = new SampleDevManager();
            SampleDevCardParam10 card = new SampleDevCardParam10();
            SampleDevParam10 dev = new SampleDevParam10();
            dev.AddCard(card);
            devManager.Add(dev);         
            for (int i = 0; i < 47; i++)
            {
            
               card.Add(new SampleDevChannelParam10(0xf0));
           
            }
            devManager.SaveToXml("tst.Xml");
              Console.ReadKey();
        }
    }
}
